package model

import "jgt-oper/src/schema"

//接口：门禁设备管理；不同数据库、相通操作的抽象；不同的数据库都实现此接口。

// IEntranceEquipment 门禁设备管理接口
type IEntranceEquipment interface {
	Create(item *schema.EntranceEquipment) error
	QueryPage(schema.EntranceEquipment, uint, uint) (int64, []*schema.EntranceEquipment, error)
	GetDetailCard(string) (*schema.EntranceEquipment, error)
	QueryTreeNode() ([]*schema.BuildingNode, error)
	Delete(string) error
	GetEquipmentInfo(string) ([]*schema.GetEquipmentInfo, error)
	QueryEntranceArray([]string) ([]*schema.EntranceEquipment, error)
}
